package com.jeesite.modules.kj.api.vo.response;

import com.jeesite.modules.kj.api.vo.response.base.BaseResponseVo;
import com.jeesite.modules.kj.entity.KjIntegralAuth;
import com.jeesite.modules.kj.entity.KjMemberIntegrals;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class IntegralAuthResponseVo extends BaseResponseVo<KjIntegralAuth> {

    @ApiModelProperty(value = "认证ID")
    private String id;
    @ApiModelProperty(value = "服务名")
    private String serviceName;		// 服务名
    @ApiModelProperty(value = "服务类型")
    private String serviceType;		// 服务类型
    @ApiModelProperty(value = "服务时长")
    private BigDecimal totalHour;		// 服务时长
    @ApiModelProperty(value = "服务时间")
    private Date serviceTime;		// 服务时间
    @ApiModelProperty(value = "服务图片")
    private String imgs;		// 服务图片
    @ApiModelProperty(value = "获得积分")
    private BigDecimal integrals;		// 获得积分
    @ApiModelProperty(value = "审核状态")
    private String approveStatus;		// 审核状态
    @ApiModelProperty(value = "创建时间")
    private Date createDate;		// 创建时间
    public IntegralAuthResponseVo() {
    }

    @Override
    public void setEntity(KjIntegralAuth entity) {
        BeanUtils.copyProperties(entity, this);
    }

    public IntegralAuthResponseVo(KjIntegralAuth entity) {
        BeanUtils.copyProperties(entity, this);
    }
}
